import {Platform, StyleSheet, Dimensions} from 'react-native';
import px2dp from '../../utils/px2dp';

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
  list: {
    padding: px2dp(24),
    borderBottomWidth: 1,
    borderBottomColor: '#f7f7f7',
  },
  head: {
    flexDirection: 'row',
    justifyContent: 'space-between',
    alignItems: 'center',
  },
  left: {
    flexDirection: 'row',
    alignItems: 'center',
  },
  avatar: {
    width: px2dp(68),
    height: px2dp(68),
    marginRight: px2dp(18),
    backgroundColor: '#f7f7f7',
  },
  name: {
    fontSize: px2dp(26),
    color: '#333',
    fontWeight: 'bold',
  },
  time: {
    fontSize: px2dp(20),
    color: '#999999',
  },
  info: {
    fontSize: px2dp(26),
    color: '#333',
    lineHeight: px2dp(38),
    marginVertical: px2dp(22),
  },
  cover_list: {
    flexDirection: 'row',
    alignItems: 'center',
    flexWrap: 'wrap',
  },
  cover: {
    width: px2dp(219),
    height: px2dp(224),
    backgroundColor: '#f7f7f7',
    marginHorizontal: px2dp(10),
  },
  btn_container: {
    flexDirection: 'row',
    justifyContent: 'flex-end',
  },
  btn: {
    width: px2dp(136),
    height: px2dp(38),
    backgroundColor: '#EB0029',
    borderRadius: px2dp(19),
    marginTop: px2dp(20),
    justifyContent: 'center',
    alignItems: 'center',
  },
  btn_text: {
    color: '#fff',
    fontSize: px2dp(18),
  },
  job_detail: {
    position: 'absolute',
    bottom: 0,
    left: 0,
    width: Dimensions.get('window').width,
    height: px2dp(800),
  },
});

export default styles;
